//
//  ACWLoginVC.h.m
//  aichewang
//
//  Created by rylynn lai on 16/2/23.
//  Copyright © 2016年 aichewang. All rights reserved.
//

#import "ACWLoginVC.h"

#import "ACWRegisterVC.h"
#import "ACWForgetPwdVC.h"

@interface ACWLoginVC ()
@property (weak, nonatomic) IBOutlet UITextField *phoneNumTF;
@property (weak, nonatomic) IBOutlet UITextField *pwdTF;

@end

@implementation ACWLoginVC

+ (instancetype)loginVC {
    UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"ACWLoginNavVC" bundle:nil];
    return [storyboard instantiateInitialViewController];
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"登录";
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (IBAction)loginBtnClick {
    [self dismissViewControllerAnimated:YES completion:nil];
}

- (IBAction)forgetPwdClick {
    ACWForgetPwdVC *forgetPwdVC = [[ACWForgetPwdVC alloc] init];
    [self.navigationController pushViewController:forgetPwdVC animated:YES];
}

- (IBAction)registerBtnClick {
    ACWRegisterVC *registerVC = [[ACWRegisterVC alloc] init];
    [self.navigationController pushViewController:registerVC animated:YES];
}

@end
